package com.ajs.multipledatasources.dao;

import com.ajs.multipledatasources.entity.Student;
import com.ajs.multipledatasources.mapper.StudentMapping;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;


@Component
public class StudentDao {
    @Autowired
    private StudentMapping tm1;

    public void save(Student t) {
        tm1.save(t);
    }

}
